/*
 *  author: lichuang
 *  2010-09-27
 */

#include "common/common.h"
#include "queue.h"

int main() {
  queue_t *queue;
  queue = queue_create();

  enqueue(queue, 10);
  enqueue(queue, 20);
  queue_print(queue, NULL);

  int value = dequeue(queue);
  printf("after dequeue %d:\n", value);
  queue_print(queue, NULL);

  queue_destroy(queue);

  return 0;
}
